The two went in the water after regular guards had finished their shift and after-hour crews were leaving for the night, NJ Advance Media reports.
The pair was spotted approximately 100 yards off the beach just before 8 p.m., Wildwood Beach Patrol wrote in a release.
Rescue swimmers entered the water and reached both victims, who were brought to the beach, evaluated, and did not require any treatment or transport, officials said.
"This incident could have easily been tragic and serves as another stark reminder of the importance of swimming only when lifeguards are on duty," WBP said.
Click here to follow Daily Voice Washington Township and receive free news updates.